<html>
<head><meta charset="utf-8"><title>Thoughts on `ControlFlow`? · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Thoughts.20on.20.60ControlFlow.60.3F.html">Thoughts on `ControlFlow`?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="225596031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Thoughts%20on%20%60ControlFlow%60%3F/near/225596031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Thoughts.20on.20.60ControlFlow.60.3F.html#225596031">(Feb 08 2021 at 19:35)</a>:</h4>
<p>Hello libs folks!</p>
<p>I included <code>ops::ControlFlow</code> in <a href="https://github.com/scottmcm/rfcs/blob/do-or-do-not/text/0000-try-trait-v2.md#the-opscontrolflow-type">my try RFC</a>.  While it did get a <a href="https://github.com/rust-lang/rust/pull/76204#issuecomment-686087377">"looks plausible"</a> a while ago, it's gone through a few changes since then which might not have had libs eyes on it (just me and compiler people), notably changing from <code>ControlFlow&lt;C, B&gt;</code> to <code>ControlFlow&lt;B, C = ()&gt;</code> in <a href="https://github.com/rust-lang/rust/pull/76614">https://github.com/rust-lang/rust/pull/76614</a>.</p>
<p>I have a few sections about why it's the way it is starting from <a href="https://github.com/scottmcm/rfcs/blob/do-or-do-not/text/0000-try-trait-v2.md#why-controlflow-pulls-its-weight">https://github.com/scottmcm/rfcs/blob/do-or-do-not/text/0000-try-trait-v2.md#why-controlflow-pulls-its-weight</a>  </p>
<p>If you have any thoughts about changes, or other things you'd like to see in the RFC about it, please let me know!</p>



<a name="225656067"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Thoughts%20on%20%60ControlFlow%60%3F/near/225656067" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Thoughts.20on.20.60ControlFlow.60.3F.html#225656067">(Feb 09 2021 at 08:16)</a>:</h4>
<p>The new RFC text is really nice to follow! I nominated for some synchronous discussion so we can see if we're comfortable with the system and figure out what a path to stabilization would look like</p>



<a name="225727983"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Thoughts%20on%20%60ControlFlow%60%3F/near/225727983" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Thoughts.20on.20.60ControlFlow.60.3F.html#225727983">(Feb 09 2021 at 17:43)</a>:</h4>
<p>Thanks!  I'm glad the rewrite helped.</p>
<p>I don't know how you normally do your meetings, but let me know if you'd like me to try to join to be there to answer questions if needed.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>